﻿
using System.Diagnostics;
namespace WPNextTools.NControls
{
    public class PhotoVirtualizationStrategyDefinition : VirtualizationStrategyDefinition
    {
        internal override void SynchStrategyProperties(VirtualizationStrategy strategy)
        {
            strategy.ColumnCount = base.ColumnCount;
            strategy.Orientation = base.Orientation;
            strategy.ColumnMargin = base.ColumnMargin;
            strategy.LeftRightMargin = base.LeftRightMargin;
            strategy.OnStrategyPropertyChanged();
        }

        internal override VirtualizationStrategy CreateStrategy()
        {
            return new VirtualizationStrategy { Orientation = base.Orientation, ColumnCount = base.ColumnCount, ColumnMargin = base.ColumnMargin, LeftRightMargin = base.LeftRightMargin };
        }
    }
}
